<?php use_stylesheet('book.css') ?>

<?php 
$titleWithEdition = $inventory->getBook()->getTitle() . 
					($inventory->getBook()->getEdition() > 0 ? "&nbsp;(Edition&nbsp;" . $inventory->getBook()->getEdition().")": "");
?>

<?php slot('title', "KLU&nbsp;-&nbsp;" . $titleWithEdition); ?>

<div id="book">
	<h1><?php echo $titleWithEdition ?></h1>
	<h2><?php echo $inventory->getBook()->getBookAuthor() ?></h2>
	<h3>Category:&nbsp;<?php echo $inventory->getBook()->getBookCategory() ?></h3>
	<div class="price">
		<p><?php echo $inventory->getPrice() ?>$</p>
	</div>
	<p class="description">Quality:&nbsp;<?php echo $inventory->getBookQuality() ?></p>
	<p class="description">ISBN10:&nbsp;<?php echo $inventory->getBook()->getIsbn10() ?></p>
	<p class="description">ISBN13:&nbsp;<?php echo $inventory->getBook()->getIsbn13() ?></p>
	
	
</div>


<a href="<?php echo url_for('inventory_edit', $inventory) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('inventory/index') ?>">List</a>
